package com.study.design.pattern.pattern.structural.facade;

/**
 * @Author: gongsl
 * @Date: 2025-03-09 11:59
 * @description: 库存系统实现类
 */
public class StockServiceImpl {

    /**
     * 减少库存数量
     */
    public Boolean abateStock(ProductInfo productInfo) {
        System.out.println(productInfo.getName() + "库存减少成功！");
        return true;
    }
}
